<?php
$this->headTitle('Quản lý dự án','append');
?>
<div class="grid grid_8">
    <div class="box-header">
        Quản lý dự án
        <a class="add" href="<?php echo $this->url(array ( 'controller' => 'project' ,'action' => 'add')); ?>">Thêm mới</a>
    </div>
    <div class="box table">
        <table cellspacing="0">
        	<thead>
        		<tr>
        			<td class="tc">ID</td>
        			<td>Tên dự án</td>
        			<td>Ghi chú</td>
        			<td>Tuỳ chọn</td>
        		</tr>
        	</thead>
        	<tbody>
                <?php foreach($this->project_list as $project){ ?>
                    <tr id="row<?php echo $project->projectId; ?>">
                        <td class="tc"><?php echo $this->escape($project->projectId) ;?></td>
                        <td>
                            <a href="<?php echo $this->url(array ( 'controller' => 'project' ,'action' => 'edit' , 'id' => $project->projectId )); ?>">
                                <?php echo $this->escape($project->projectName) ;?>
                            </a>
                        </td>
                        <td><?php echo $this->escape($project->note); ?></td>
                        <td class="tc">
                            <a href="<?php echo $this->url(array ( 'controller' => 'project' ,'action' => 'edit' , 'id' => $project->projectId )); ?>">
                                <img src="image/icons/small/icon_edit.png"alt="edit catalogy" border="0"/>
                            </a> 
                            <a href="<?php echo $this->url(array ( 'controller' => 'project' ,'action' => 'delete' , 'id' => $project->projectId )); ?>">
                                <img src="image/icons/small/icon_delete.png"alt="delete catalogy" border="0"/>
                            </a>
                        </td>
                    </tr>
                <?php } ?>
            </tbody>
        </table>
    </div>
</div>
<div class="grid grid_4">
    <div class="box-header">Hướng dẫn</div>
    <div class="box">
    </div>
</div>
